inherited fmAddEditDocsScan: TfmAddEditDocsScan
  Left = 646
  Top = 251
  Width = 720
  Height = 577
  Caption = 'fmAddEditDocsScan'
  Constraints.MinHeight = 577
  Constraints.MinWidth = 720
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  inherited sbBottom: TStatusBar
    Top = 523
    Width = 712
  end
  inherited Panel1: TPanel
    Width = 712
    inherited BitBtn1: TBitBtn
      Left = 542
    end
    inherited BitBtn2: TBitBtn
      Left = 630
    end
  end
  object Panel2: TPanel [2]
    Left = 0
    Top = 45
    Width = 712
    Height = 124
    Align = alTop
    TabOrder = 2
    object cxDBTextEdit1: TcxDBTextEdit
      Left = 8
      Top = 24
      DataBinding.DataField = 'SIDNAME'
      DataBinding.DataSource = dlgDS
      ParentFont = False
      Style.Font.Charset = DEFAULT_CHARSET
      Style.Font.Color = clWindowText
      Style.Font.Height = -15
      Style.Font.Name = 'Tahoma'
      Style.Font.Style = []
      Style.LookAndFeel.SkinName = 'Lilian'
      Style.Shadow = True
      Style.IsFontAssigned = True
      StyleDisabled.LookAndFeel.SkinName = 'Lilian'
      StyleFocused.LookAndFeel.SkinName = 'Lilian'
      StyleHot.LookAndFeel.SkinName = 'Lilian'
      TabOrder = 0
      Width = 457
    end
    object cxDBTextEdit2: TcxDBTextEdit
      Left = 8
      Top = 72
      DataBinding.DataField = 'SIDNOTE'
      DataBinding.DataSource = dlgDS
      ParentFont = False
      Style.Font.Charset = DEFAULT_CHARSET
      Style.Font.Color = clWindowText
      Style.Font.Height = -15
      Style.Font.Name = 'Tahoma'
      Style.Font.Style = []
      Style.LookAndFeel.SkinName = 'Lilian'
      Style.Shadow = True
      Style.IsFontAssigned = True
      StyleDisabled.LookAndFeel.SkinName = 'Lilian'
      StyleFocused.LookAndFeel.SkinName = 'Lilian'
      StyleHot.LookAndFeel.SkinName = 'Lilian'
      TabOrder = 1
      Width = 689
    end
    object cxLabel1: TcxLabel
      Left = 9
      Top = 4
      Caption = #1053#1072#1079#1074#1072#1085#1080#1077' '#1076#1086#1082#1091#1084#1077#1085#1090#1072'*'
      ParentFont = False
      Style.Font.Charset = DEFAULT_CHARSET
      Style.Font.Color = clGray
      Style.Font.Height = -11
      Style.Font.Name = 'Tahoma'
      Style.Font.Style = []
      Style.IsFontAssigned = True
    end
    object cxLabel2: TcxLabel
      Left = 9
      Top = 52
      Caption = #1050#1086#1084#1084#1077#1085#1090#1072#1088#1080#1081
      ParentFont = False
      Style.Font.Charset = DEFAULT_CHARSET
      Style.Font.Color = clGray
      Style.Font.Height = -11
      Style.Font.Name = 'Tahoma'
      Style.Font.Style = []
      Style.IsFontAssigned = True
    end
    object cxLabel3: TcxLabel
      Left = 6
      Top = 100
      Caption = '* '#1086#1073#1103#1079#1072#1090#1077#1083#1100#1085#1099#1077' '#1087#1086#1083#1103
      ParentFont = False
      Style.Font.Charset = DEFAULT_CHARSET
      Style.Font.Color = clGray
      Style.Font.Height = -11
      Style.Font.Name = 'Tahoma'
      Style.Font.Style = []
      Style.IsFontAssigned = True
    end
    object lcbtype: TcxDBLookupComboBox
      Left = 472
      Top = 23
      DataBinding.DataField = 'SDID_DOCTYPE'
      DataBinding.DataSource = dlgDS
      ParentFont = False
      Properties.KeyFieldNames = 'SDID'
      Properties.ListColumns = <
        item
          FieldName = 'SDNAME'
        end>
      Properties.ListOptions.ShowHeader = False
      Properties.ListSource = dsRPSType
      Properties.OnCloseUp = lcbtypePropertiesCloseUp
      Style.Font.Charset = DEFAULT_CHARSET
      Style.Font.Color = clWindowText
      Style.Font.Height = -15
      Style.Font.Name = 'Tahoma'
      Style.Font.Style = []
      Style.LookAndFeel.Kind = lfFlat
      Style.LookAndFeel.SkinName = 'Office2007Silver'
      Style.Shadow = True
      Style.IsFontAssigned = True
      StyleDisabled.LookAndFeel.Kind = lfFlat
      StyleDisabled.LookAndFeel.SkinName = 'Office2007Silver'
      StyleFocused.LookAndFeel.Kind = lfFlat
      StyleFocused.LookAndFeel.SkinName = 'Office2007Silver'
      StyleHot.LookAndFeel.Kind = lfFlat
      StyleHot.LookAndFeel.SkinName = 'Office2007Silver'
      TabOrder = 5
      Width = 225
    end
    object cxLabel4: TcxLabel
      Left = 473
      Top = 4
      Caption = #1058#1080#1087' '#1076#1086#1082#1091#1084#1077#1085#1090#1072'*'
      ParentFont = False
      Style.Font.Charset = DEFAULT_CHARSET
      Style.Font.Color = clGray
      Style.Font.Height = -11
      Style.Font.Name = 'Tahoma'
      Style.Font.Style = []
      Style.IsFontAssigned = True
    end
  end
  object PdfViewer1: TPdfViewer [3]
    Left = 0
    Top = 194
    Width = 712
    Height = 329
    Align = alClient
    About = 'Synactis PDF Viewer version 1.0'
    AutoOpen = True
    Copies = 1
    EndPage = 0
    FitMode = vmFitBoxHorz
    LayoutMode = lmDontCare
    PageMode = pmStandard
    ShowPrintDialog = True
    ShowScrollBars = True
    ShowToolBar = False
    ShrinkToMargins = True
    StartPage = 1
  end
  object cxButton1: TcxButton [4]
    Left = 0
    Top = 169
    Width = 712
    Height = 25
    Caption = #1044#1086#1073#1072#1074#1080#1090#1100'/'#1047#1072#1084#1077#1085#1080#1090#1100
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'Tahoma'
    Font.Style = []
    ParentFont = False
    TabOrder = 4
    OnClick = cxButton1Click
    Align = alTop
    Glyph.Data = {
      76010000424D7601000000000000760000002800000020000000100000000100
      04000000000000010000CE0E0000D80E00001000000000000000000000000000
      80000080000000808000800000008000800080800000C0C0C000808080000000
      FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
      3333333333387F3333333333333333333333333333387F333333333333344333
      3333333333387F3333333333333443333333333333387F333333333333344333
      3333333333387F3333333333333443333333333333387F333333333333344333
      3333387FFFFFFFFFFFFF3344444444444433387777777F777777334444444444
      4433388888887F8888883333333443333333333333387F333333333333344333
      3333333333387F3333333333333443333333333333387F333333333333344333
      3333333333387F33333333333334433333333333333877333333333333333333
      3333333333388833333333333333333333333333333333333333}
    LookAndFeel.SkinName = 'Lilian'
    NumGlyphs = 2
  end
  inherited dlgDS: TDataSource
    Left = 296
    Top = 8
  end
  object odScan: TOpenDialog
    Filter = 'PDF|*.pdf'
    Left = 544
    Top = 88
  end
  object cxPropertiesStore1: TcxPropertiesStore
    Components = <
      item
        Component = odScan
        Properties.Strings = (
          'FileName')
      end>
    StorageName = 'Software\Olympic_PS_fmAddEditDocsScan'
    StorageType = stRegistry
    Left = 592
    Top = 88
  end
  object qGetDBDate: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    SQL.Strings = (
      'select current_date as serv_date from rdb$database')
    Left = 336
    Top = 8
    object qGetDBDateSERV_DATE: TDateField
      FieldName = 'SERV_DATE'
      ProviderFlags = []
    end
  end
  object dsRPSType: TDataSource
    DataSet = qRPSType
    Left = 280
    Top = 56
  end
  object qRPSType: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    SQL.Strings = (
      'SELECT t1.*'
      'FROM'
      '('
      'WITH   recursive'
      '   tree (SDNAME, SDID, SDPARID)'
      '   AS (SELECT SD.SDNAME, SD.SDID, sd.SDPARID FROM SYS_DIC SD'
      '      WHERE sd.SDPARID = 21'
      '      UNION ALL'
      '      SELECT SD1.SDNAME, SD1.SDID, sd1.SDPARID'
      ''
      '      FROM SYS_DIC SD1'
      '          INNER JOIN tree t '
      '           ON t.sdid = sd1.SDPARID)'
      ' SELECT  SDNAME, SDID, SDPARID FROM tree t'
      ') AS t1'
      'order by 1')
    GeneratorField.Field = 'SDID'
    Left = 320
    Top = 56
    object qRPSTypeSDNAME: TIBStringField
      FieldName = 'SDNAME'
      ProviderFlags = []
      Size = 255
    end
    object qRPSTypeSDID: TIntegerField
      FieldName = 'SDID'
      ProviderFlags = []
    end
    object qRPSTypeSDPARID: TIntegerField
      FieldName = 'SDPARID'
      ProviderFlags = []
    end
  end
end
